<?php $this->load->view('config/header');?>
<h2>Form <?php echo $mode?></h2>
<div class="line-separtor"></div>
<br/>	
	<a href="<?php echo site_url()?>multicontainer/index/<?php echo $idMultiContent; ?>" class="btn btn-primary"> Kembali ke daftar </a>
<br/>
<br/>
<form method="post" action="<?php echo site_url() ?>multicontainer/<?php echo $action; ?>" class="form-horizontal" enctype="multipart/form-data">
	<input type="hidden" name="id_multi_container" value="<?php echo @$detail[0]['id_multi_container']?>">
	<input type="hidden" name="id_multi_content" value="<?php echo $idMultiContent; ?>">
	<input type="hidden" name="date_multi_container" value="<?php echo @$detail[0]['date_multi_container']?>">
	<input type="hidden" name="file_upload_tmp" value="<?php echo @$detail[0]['file_upload']?>">
	
	<div class="control-group">
		<label class="control-label" for="title_multi_container">Title Content</label>
		<div class="controls">
		  <input type="text" class="span5" name="title_multi_container" value="<?php echo @$detail[0]['title_multi_container']?>" >
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="file_upload">File upload</label>
		<div class="controls">
			<?php if(@$detail[0]['file_upload'] == "" ):?>
				<input type="file" name="file_upload" value="<?php echo @$detail[0]['file_upload']?>" ></input>
			<?php else:?>
				<input type="text" name="file_upload" class="span7" value="<?php echo @$detail[0]['file_upload']?>" readonly="readonly"/>
			<?php endif;?>
		</div>
	</div>
	
	<div class="control-group">
		<label class="control-label" for="container_multi_content">Container content</label>
		<div class="controls">
			<textarea name="container_multi_content" class="ckeditor"><?php echo @$detail[0]['container_multi_content']?></textarea>
		</div>
	</div>
	
	<div class="form-actions">
		<input type="submit" name="submit" value="Simpan" class="btn btn-primary"/>
		<a href="<?php echo site_url()?>multicontainer/index/<?php echo $idMultiContent; ?>" class="btn">Batal</a>
	</div>
</form>
<?php $this->load->view('config/footer');?>